(function() {

    var loader = httpVueLoader;

    var routers = [
        // { path: '/test', component: loader('./vue/component/test.vue') },
        { path: '/', component: loader('./pages/icon.vue') },
        { path: '/icon', component: loader('./pages/icon.vue') },

        // 开发工具
        { path: '/no-builer', component: loader('./module/tools/vue/no-builder.vue') },
        { path: '/api', component: loader('./module/tools/vue/api.vue') },
        { path: '/url-decode', component: loader('./module/tools/vue/url-decode.vue') },
        { path: '/url2qr', component: loader('./module/tools/vue/url2qr.vue') },
    ];

    for(var index in routers) {
        var router = routers[index];
        if(router.name == null) {
            router.name = router.path;
        }
        router.props = ((router) => (router.query));
    }

    window.routers = routers;

}());